package com.luozhengdong;

public class Point {
	protected int color;//棋子颜色 0无棋,1黑棋,2白棋
	protected int x;
	protected int y;
	int getX() {
		return x;
	}

	void setX(int x) {
		this.x = x;
	}

	int getY() {
		return y;
	}

	void setY(int y) {
		this.y = y;
	}

	int getColor() {
		return color;
	}

	void setColor(int color) {
		this.color = color;
	}
	/**
	 * 自动下子
	 */
	public void paint() {
		if(this.color==0) {
			System.out.print('╋');
		}else if(this.color==1) {
			System.out.print('●');
		}else if(this.color==2) {
			System.out.print('○');
		}
	}
	
}
